home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 85 / CD Actual 85 Febrero 2004.iso / Experto / Apache / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252691_mod_cgi.xml.ko < prev    next >
Encoding:
Extensible Markup Language  |  2003-05-16  |  7.9 KB  |  210 lines

  1. <?xml version="1.0" encoding="EUC-KR" ?>
  2. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  3. <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
  4. <!-- English revision: 1.8.2.1 -->
  5. <modulesynopsis metafile="mod_cgi.xml.meta">
  6.  
  7. <name>mod_cgi</name>
  8. <description>CGI ╜║┼⌐╕│╞« ╜╟╟α</description>
  9. <status>Base</status>
  10. <sourcefile>mod_cgi.c</sourcefile>
  11. <identifier>cgi_module</identifier>
  12.  
  13. <summary>
  14.     <!-- XXX: Should mention Options ExecCGI
  15.           is the link to howto/cgi not sufficient? -nd
  16.     -->
  17.  
  18.     <p>╝¡╣÷┤┬ mime type└╠ <code>application/x-httpd-cgi</code>└╠░┼│¬
  19.     (╛╞╞──í 1.1 └╠╚─) ╟┌╡Θ╖»░í <code>cgi-script</code>└╬ ╕≡╡τ
  20.     ╞─└╧└╗ CGI ╜║┼⌐╕│╞«╖╬ └╬╜─╟╧┐⌐, ╜╟╟α╟╧░φ, ▒╫ ░ß░·╕ª ┼¼╢≤└╠╛≡╞«┐í░╘
  21.     ║╕│╜┤┘. ╞─└╧└╠ <directive module="mod_mime">AddType</directive>
  22.     ┴÷╜├╛ε╖╬ ┴÷┴ñ╟╤ ╚«└σ└┌╕ª ░í┴÷░┼│¬, <directive
  23.     module="mod_alias">ScriptAlias</directive> ╡≡╖║┼Σ╕« ╛╚┐í
  24.     └╓└╕╕Θ CGI╖╬ ├│╕«╡╚┤┘.</p>
  25.  
  26.     <p>╝¡╣÷┤┬ CGI ╜║┼⌐╕│╞«╕ª ║╬╕ª╢º <code>DOCUMENT_ROOT</code>╢≤┤┬
  27.     ╚»░µ║»╝÷╕ª ├▀░í╟╤┤┘. └╠ ║»╝÷┤┬ <directive
  28.     module="core">DocumentRoot</directive> ╝│┴ñ░¬└╗ ░í┴°┤┘.</p>
  29.  
  30.     <p>╛╞╞──í┐í╝¡ CGI ╜║┼⌐╕│╞«╕ª ╗τ┐δ╟╧┤┬ ╣µ╣²┐í ┤δ╟╤ ╝╥░│┤┬
  31.     <a href="../howto/cgi.html">CGI╖╬ ╡┐└√│╗┐δ</a> ┼⌡┼Σ╕«╛≤└╗
  32.     ┬ⁿ░φ╟╧╢≤.</p>
  33.  
  34.     <p>└»┤╨╜║┐í╝¡ ┤┘┴▀╛▓╖╣╡σ MPM└╗ ╗τ┐δ╟╤┤┘╕Θ └╠ ╕≡╡Γ┤δ╜┼
  35.     <module>mod_cgid</module> ╕≡╡Γ└╗ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ╗τ┐δ└┌
  36.     └╘└σ┐í╝¡ └╠ ╡╬ ╕≡╡Γ└║ ▒Γ║╗└√└╕╖╬ ╡┐└╧╟╧┤┘.</p>
  37. </summary>
  38.  
  39. <seealso><directive module="core">AcceptPathInfo</directive></seealso>
  40. <seealso><directive module="core">Options</directive></seealso>
  41. <seealso><directive module="mod_alias">ScriptAlias</directive></seealso>
  42. <seealso><directive module="mod_mime">AddHandler</directive></seealso>
  43. <seealso><a href="../suexec.html">┤┘╕Ñ ╗τ┐δ└┌ ID╖╬ CGI ╟┴╖╬▒╫╖Ñ
  44. ╜╟╟α╟╧▒Γ</a></seealso>
  45. <seealso><a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI ╟Ñ┴╪</a></seealso>
  46.  
  47. <section id="env"><title>CGI ╚»░µ║»╝÷</title>
  48.     <p>╝¡╣÷┤┬ ┤┘└╜░· ░░└║ ╣µ╣²└╕╖╬ <a
  49.     href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI ╟Ñ┴╪</a>└╠ ╝│╕φ╟╧┤┬
  50.     CGI ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘:</p>
  51.  
  52.     <dl>
  53.       <dt>PATH_INFO</dt>
  54.  
  55.       <dd>└╠ ║»╝÷┤┬ <directive module="core"
  56.       >AcceptPathInfo</directive> ┴÷╜├╛ε╕ª ┴≈┴ó <code>off</code>╖╬
  57.       ┴÷┴ñ╟╤ ░µ┐∞┐í╕╕ ╝│┴ñ╟╤┤┘. <directive
  58.       >AcceptPathInfo</directive>░í ╛°┤┬ ░µ┐∞ ╝¡╣÷┤┬ ▒Γ║╗└√└╕╖╬
  59.       ░µ╖╬ ┴ñ║╕░í └╓┤┬ ┐Σ├╗┐í ┤δ╟╪ 404 NOT FOUND ┐└╖∙╕ª │╗┴÷╕╕,
  60.       <module>mod_cgi</module>┤┬ ░µ╖╬ ┴ñ║╕╕ª (URI┐í╝¡ ╜║┼⌐╕│╞«
  61.       ╞─└╧╕φ ╡┌┐í │¬┐└┤┬ <code>/more/path/info</code>) ╣▐┤┬┤┘.
  62.       <directive>AcceptPathInfo</directive> ┴÷╜├╛ε╕ª ╗²╖½╟╧╕Θ
  63.       <module>mod_cgi</module> ┐Σ├╗┐í ┤δ╟╪╝¡ <directive
  64.       module="core">AcceptPathInfo</directive>╕ª <code>On</code>└╕╖╬
  65.       ╝│┴ñ╟╤ ░═░· ░░┤┘.</dd>
  66.  
  67.       <dt>REMOTE_HOST</dt>
  68.  
  69.       <dd>└╠ ║»╝÷┤┬ <directive module="core"
  70.       >HostnameLookups</directive>░í <code>on</code>└╠░φ (▒Γ║╗░¬└║
  71.       off), ┴ó╝╙╟╤ ╚ú╜║╞« ┴╓╝╥╕ª ┐¬DNS ░╦╗÷╟╧┐⌐ ╜╟┴ª ╚ú╜║╞«╕φ└╗
  72.       ├ú└║ ░µ┐∞┐í╕╕ ╝│┴ñ╟╤┤┘.</dd>
  73.  
  74.       <dt>REMOTE_IDENT</dt>
  75.  
  76.       <dd>└╠ ║»╝÷┤┬ <directive module="core"
  77.       >IdentityCheck</directive>░í <code>on</code>└╠░φ, ┴ó╝╙╟╤
  78.       ╚ú╜║╞«░í ident ╟┴╖╬┼Σ─▌└╗ ┴÷┐°╟╧┤┬ ░µ┐∞┐í╕╕ ╝│┴ñ╟╤┤┘.
  79.       ╜▒░╘ └╠ ░¬└╗ ╝╙└╧ ╝÷ └╓▒Γ╢º╣«┐í └╠ ║»╝÷└╟ │╗┐δ└╗ ╣╧└╕╕Θ
  80.       ╛╚╡╟░φ, ┼¼╢≤└╠╛≡╞«┐═ ╝¡╣÷ ╗τ└╠┐í ╟┴╖╧╜├░í └╓┤┘╕Θ ║»╝÷
  81.       │╗┐δ└╠ ┐╧└ⁿ╚≈ ╣½└╟╣╠╟╘└╗ ┴╓└╟╟╧╢≤.</dd>
  82.  
  83.       <dt>REMOTE_USER</dt>
  84.  
  85.       <dd>CGI ╜║┼⌐╕│╞«░í └╬┴⌡└╗ ░┼├─╛▀╟╧┤┬ ░µ┐∞┐í╕╕ ╝│┴ñ╟╤┤┘.</dd>
  86.     </dl>
  87. </section>
  88.  
  89. <section id="cgi-debug"><title>CGI ╡≡╣÷▒δ</title>
  90.     <p>╛ε╡≡┐í╝¡ └▀╕° ╜╟╟α╡╟┤┬┴÷ ╜║┼⌐╕│╞«└╟ ├Γ╖┬└╗ (╟Ñ┴╪├Γ╖┬░·
  91.     ╟Ñ┴╪┐└╖∙) ║╝ ╝÷ ╛°▒Γ╢º╣«┐í CGI ╜║┼⌐╕│╞«┤┬ └ⁿ┼δ└√└╕╖╬ ╡≡╣÷▒δ╟╧▒Γ
  92.     ╛ε╖┴┐ⁿ┤┘. ╛╞╞──í 1.2 └╠╚─┐í ├▀░í╡╚ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ ╣▀╗²╟╤
  93.     ┐└╖∙╕ª └┌╝╝╚≈ ╖╬▒╫┐í │▓▒µ ╝÷ └╓┤┘.</p>
  94.  
  95.     <section><title>CGI ╖╬▒╫╞─└╧ ╟ⁿ╜─</title>
  96.       <p>CGI ┐└╖∙╖╬▒╫┤┬ ┴ñ╗≤└√└╕╖╬ ╜╟╟α╟╧┴÷ ╕°╟╤ CGI╕ª ▒Γ╖╧╟╤┤┘.
  97.       ┐└╖∙░í ╣▀╗²╟╤ CGI ╜║┼⌐╕│╞«┤┬ ╖╬▒╫┐í ┐⌐╖» ┴┘└╟ ┴ñ║╕╕ª │▓▒Σ┤┘.
  98.       ├╣╣°┬░ ╡╬ ┴┘└║ ╟╫╗≤ ╛╞╖í┐═ ░░└║ ╟ⁿ╜─└╠┤┘:</p>
  99.  
  100.       <example>
  101.         %% [<var>╜├░ú</var>] <var>┐Σ├╗┴┘</var><br />
  102.         %% <var>HTTP-╗≤┼┬</var> <var>CGI-╜║┼⌐╕│╞«-╞─└╧╕φ</var>
  103.       </example>
  104.  
  105.       <p>CGI ╜║┼⌐╕│╞«╕ª ╜╟╟α╟╥ ╝÷ ╛°┤┬ ┐└╖∙└╬ ░µ┐∞ ╖╬▒╫╞─└╧┐í
  106.       ├▀░í╖╬ ╡╬ ┴┘└╗ ┤⌡ ▒Γ╖╧╟╤┤┘:</p>
  107.  
  108.       <example>
  109.         %%error<br />
  110.         <var>┐└╖∙╣«</var>
  111.       </example>
  112.  
  113.       <p>╜║┼⌐╕│╞«░í (║╕┼δ ╜║┼⌐╕│╞«└╟ ╣÷▒╫╢º╣«┐í) └▀╕°╡╚ ╟∞┤⌡
  114.       ┴ñ║╕╕ª ╣▌╚»╟╧┤┬ ░µ┐∞, ┤┘└╜ │╗┐δ└╗ ╖╬▒╫┐í ▒Γ╖╧╟╤┤┘:</p>
  115.  
  116.       <example>
  117.         %request<br />
  118.         <var>╣▐└║ ╕≡╡τ HTTP ╟∞┤⌡</var><br />
  119.         <var>(└╓┤┘╕Θ) POST│¬ PUT │╗┐δ</var><br />
  120.         %response<br />
  121.         <var>CGI ╜║┼⌐╕│╞« ├Γ╖┬└╟ ╕≡╡τ ╟∞┤⌡</var><br />
  122.         %stdout<br />
  123.         <var>CGI ╟Ñ┴╪├Γ╖┬</var><br />
  124.         %stderr<br />
  125.         <var>CGI ╟Ñ┴╪┐└╖∙</var><br />
  126.       </example>
  127.  
  128.       <p>(╜║┼⌐╕│╞«░í ╟Ñ┴╪├Γ╖┬└╠│¬ ╟Ñ┴╪┐└╖∙┐í ╛╞╣½ │╗┐δ╡╡ ├Γ╖┬╟╧┴÷
  129.       ╛╩╛╥┤┘╕Θ %stdout░· %stderr ║╬║╨└║ ╗²╖½╡╔ ╝÷ └╓┤┘).</p>
  130.     </section>
  131. </section>
  132.  
  133. <directivesynopsis>
  134. <name>ScriptLog</name>
  135. <description>CGI ╜║┼⌐╕│╞« ┐└╖∙╖╬▒╫╞─└╧└╟ └º─í</description>
  136. <syntax>ScriptLog <var>file-path</var></syntax>
  137. <contextlist><context>server config</context>
  138. <context>virtual host</context></contextlist>
  139. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  140. </modulelist>
  141.  
  142. <usage>
  143.     <p><directive>ScriptLog</directive> ┴÷╜├╛ε┤┬ CGI ╜║┼⌐╕│╞«
  144.     ┐└╖∙╖╬▒╫╞─└╧└╗ ┴÷┴ñ╟╤┤┘. <directive>ScriptLog</directive>╕ª
  145.     ╗τ┐δ╟╧┴÷╛╩└╕╕Θ ┐└╖∙╖╬▒╫╕ª ╕╕╡Θ┴÷ ╛╩┤┬┤┘. ╗τ┐δ╟╧╕Θ ╛╞▒╘╕╒╞«╖╬
  146.     ┴÷┴ñ╟╤ ╞─└╧┐í CGI ┐└╖∙╕ª ▒Γ╖╧╟╤┤┘. ╗≤┤δ░µ╖╬╕ª ┴÷┴ñ╟╧╕Θ
  147.     <directive module="core">ServerRoot</directive>┐í ╗≤┤δ░µ╖╬╖╬
  148.     ╣▐╛╞╡Θ└╬┤┘.
  149.     </p>
  150.  
  151.     <example><title>┐╣┴ª</title>
  152.       ScriptLog logs/cgi_log
  153.     </example>
  154.  
  155.     <p>└┌╜─ ╟┴╖╬╝╝╜║╕ª ╜╟╟α╟╧┤┬ ╗τ┐δ└┌, <em>┴∩</em> <directive
  156.     module="mpm_common">User</directive> ┴÷╜├╛ε╖╬ ┴÷┴ñ╟╤ ╗τ┐δ└┌
  157.     ▒╟╟╤└╕╖╬ ╖╬▒╫╕ª ┐¼┤┘. ▒╫╖í╝¡ ▒╫ ╗τ┐δ└┌░í ╜║┼⌐╕│╞« ╖╬▒╫░í
  158.     └╓┤┬ ╡≡╖║┼Σ╕«┐í ╛▓▒Γ▒╟╟╤└╠ └╓┤°┴÷, ┴≈┴ó ╣╠╕« ╞─└╧└╗ ╕╕╡Θ╛ε╝¡
  159.     ▒╫ ╗τ┐δ└┌┐í░╘ ╛▓▒Γ▒╟╟╤└╗ ┴α╛▀ ╟╤┤┘. ╜║┼⌐╕│╞« ╖╬▒╫╕ª ┴╓ ╖╬▒╫
  160.     ╡≡╖║┼Σ╕«┐í ╡╨┤┘╕Θ └┌╜─ ╟┴╖╬╝╝╜║╕ª ╜╟╟α╟╧┤┬ ╗τ┐δ└┌┐í░╘ ╛▓▒Γ▒╟╟╤└╗
  161.     ┴╓▒Γ└º╟╪ ╡≡╖║┼Σ╕« ▒╟╟╤└╗ ║»░µ╟╧┴÷ <strong>╕╢╢≤</strong>.</p>
  162.  
  163.     <p>╜║┼⌐╕│╞« ╖╬▒╫┤┬ CGI ╜║┼⌐╕│╞«╕ª └█╝║╟╥╢º ╡≡╣÷▒δ└╗ └º╟╤
  164.     ┐δ╡╡└╠┴÷ ╝¡╣÷╕ª ╜╟╟α╟╧┤┬ ╡┐╛╚ ░Φ╝╙ ╗τ┐δ╟╧▒Γ└º╟╘└╠ ╛╞┤╘└╗
  165.     ┴╓└╟╟╧╢≤. ╝╙╡╡┐═ ╚┐└▓╝║╕Θ┐í╝¡ ├╓└√╚¡░í ╛╚╡╟└╓░φ, ╝│░Φ╟╤
  166.     ╕±└√└╠┐▄└╟ ╣µ╣²└╕╖╬ ╗τ┐δ╟╧╕Θ ║╕╛╚╗≤ ╣«┴ª░í ╡╔ ╝÷ └╓┤┘.</p>
  167. </usage>
  168. </directivesynopsis>
  169.  
  170. <directivesynopsis>
  171. <name>ScriptLogLength</name>
  172. <description>CGI ╜║┼⌐╕│╞« ╖╬▒╫╞─└╧└╟ ┼⌐▒Γ ┴ª╟╤</description>
  173. <syntax>ScriptLogLength <var>bytes</var></syntax>
  174. <default>ScriptLogLength 10385760</default>
  175. <contextlist><context>server config</context>
  176. <context>virtual host</context></contextlist>
  177. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  178. </modulelist>
  179.  
  180. <usage>
  181.     <p><directive>ScriptLogLength</directive>┤┬ CGI ╜║┼⌐╕│╞«
  182.     ╖╬▒╫╞─└╧└╟ ┼⌐▒Γ╕ª ┴ª╟╤╟╤┤┘. CGI ┐└╖∙░í ╣▀╗²╟╥╢º╕╢┤┘ (╕≡╡τ
  183.     ┐Σ├╗ ╟∞┤⌡, ╕≡╡τ ╜║┼⌐╕│╞« ├Γ╖┬ ╡ε) ╕╣└║ ┴ñ║╕░í ╖╬▒╫┐í
  184.     ▒Γ╖╧╡╟▒Γ╢º╣«┐í ╞─└╧└╠ ╕┼┐∞ ─┐┴· ╝÷ └╓┤┘. ╞─└╧└╠ ╣½╟╤╚≈ ─┐┴÷┤┬
  185.     ╣«┴ª╕ª ╕╖▒Γ└º╟╪ └╠ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ CGI ╖╬▒╫╞─└╧└╟ ├╓┤δ
  186.     ╞─└╧┼⌐▒Γ╕ª ╝│┴ñ╟╤┤┘. ╞─└╧└╟ ┼⌐▒Γ░í ╝│┴ñ╟╤ ░¬└╗ │╤└╕╕Θ ┤⌡
  187.     └╠╗≤ ┴ñ║╕╕ª ▒Γ╖╧╟╧┴÷╛╩┤┬┤┘.</p>
  188. </usage>
  189. </directivesynopsis>
  190.  
  191. <directivesynopsis>
  192. <name>ScriptLogBuffer</name>
  193. <description>╜║┼⌐╕│╞« ╖╬▒╫┐í ▒Γ╖╧╟╥ PUT ╚ñ└║ POST ┐Σ├╗└╟ ├╓┤δ╖«</description>
  194. <syntax>ScriptLogBuffer <var>bytes</var></syntax>
  195. <default>ScriptLogBuffer 1024</default>
  196. <contextlist><context>server config</context>
  197. <context>virtual host</context></contextlist>
  198. <modulelist><module>mod_cgi</module><module>mod_cgid</module>
  199. </modulelist>
  200.  
  201. <usage>
  202.     <p>┼½ │╗┐δ└╗ ╣▐╛╞╝¡ ╖╬▒╫╞─└╧└╠ │╩╣½ ╗í╕« ─┐┴÷┤┬ ╟÷╗≤└╗ ╕╖▒Γ└º╟╪
  203.     ╞─└╧┐í ▒Γ╖╧╟╥ PUT ╚ñ└║ POST │╗┐δ└╟ ┼⌐▒Γ╕ª ┴ª╟╤╟╤┤┘. ▒Γ║╗└√└╕╖╬
  204.     1024 ╣┘└╠╞«▒ε┴÷ ╖╬▒╫┐í ▒Γ╖╧╟╧┴÷╕╕, └╠ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
  205.     ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
  206. </usage>
  207. </directivesynopsis>
  208.  
  209. </modulesynopsis>
  210.